home *** CD-ROM | disk | FTP | other *** search
/ Turnbull China Bikeride / Turnbull China Bikeride - Disc 2.iso / BARNET / ARMTEX / EXTRAS / ISPELL / !Ispell / !Help < prev    next >
Text File  |  1998-06-10  |  15KB  |  419 lines

  1.  
  2.                       ------------------
  3.                       Ispell (Release 3)
  4.                       ------------------
  5.  
  6.             (*ispell 3.1.07 [Arc1.1] / !Ispell 1.3)
  7.     
  8.  
  9.  
  10. Preface
  11. -------
  12.  
  13. Changes between successive releases of Ispell are documented in
  14. the file `!Ispell.Documents.Changes'.
  15.  
  16. Important changes from release 1 are,
  17.  
  18.  - Clicking adjust on a word in the list of suggested corrections
  19.    results in an immediate replacement.
  20.    
  21. Important changes from release 2 are,
  22.  
  23.  - A different method of connecting !Ispell and *ispell which
  24.    removes the intermittent start up problem which existed before
  25.    release 3.
  26.  
  27.  - The "Abandon" button has been replaced by an "End" button.  If
  28.    amendments have been make to the current file you will be given
  29.    the option to skip to the end of the file ignoring all further
  30.    misspellings so retaining any changes that have already been made.
  31.  
  32.  
  33. [
  34. IMPORTANT NOTICE:
  35.  
  36. This version of the frontend has been patched to recognise filenames
  37. that end in "/tex" and to use the new TeX and LaTeX filetypes. Therefore
  38. you should report bugs to me and NOT to David Bryan. He still gets the
  39. credit, though.
  40.  
  41. 10. Jun 1998
  42. Jakob Stoklund Olesen
  43. <stoklund@mi.aau.dk>
  44. ]
  45.  
  46.  
  47. Contents
  48. --------
  49.  
  50.  1 Introduction
  51.  2 Memory requirements
  52.  3 Simple use
  53.    3.1 Use with the Wimp front end
  54.    3.2 Use with the CLI
  55.    3.3 Use with RISC OS 2
  56.  4 More about !Ispell---issues of speed
  57.  5 Launching Ispell from another program
  58.  6 Documentation
  59.  7 Lexicons and alternatives
  60.    7.1 Base dictionaries
  61.    7.2 Personal dictionaries
  62.  8 Copyright and copying
  63.  9 Bugs
  64. 10 The author
  65.  
  66.  
  67.  
  68. 1 Introduction
  69. --------------
  70.  
  71. Ispell, as you may know if you have used a form of Unix, is an
  72. interactive spell checker for simple text terminals.  Ispell is of
  73. particular use if you use TeX or LaTeX.  Not only because ispell
  74. works directly on any file containing text, but also because it is
  75. aware of the meta-text contained within a TeX or LaTeX file. 
  76. Thus, ispell tries to keep to a minimum queries over the spelling
  77. of words which are part of TeX or LaTeX commands.
  78.  
  79. The Ispell package consists of two parts,
  80.  
  81. *ispell - a port of Unix `ispell' 3.1.07 to RISC OS.        
  82.  
  83. !Ispell - a Wimp front end which acts as a veneer over the plain
  84.           *ispell program, performing a similar role to xspell on
  85.           Unix.
  86.  
  87. The English dictionary included with the binary distribution has
  88. been constructed for the widest range of users.  It contains both
  89. British and American spellings of many words.  However, as this
  90. may not be to everyone's liking, section 7 below discusses the
  91. provision and use of alternative dictionaries.
  92.  
  93.  
  94.  
  95. 2 Memory requirements
  96. ---------------------
  97.  
  98. *ispell is, in the true Unix tradition, a greedy program when it
  99. comes to memory.  The only compression used is prefix/suffix
  100. compression of the base dictionary.  Ispell, as it comes with its
  101. ``medium'' sized English dictionary, will require approximately
  102. 1Mb of memory to run in.  It should be noted that this is only
  103. required while a file is being checked, and that !Ispell just
  104. sitting on the icon bar takes up 64Kb at most.
  105.  
  106. When used under RISC OS 3.5 or greater *ispell stores its lexicon
  107. information in a pair of dynamic areas.  *ispell works with
  108. Virtualise.  It doesn't work very well as access of the
  109. information is very random.  I assume that *ispell will work with
  110. Virtual, but now that I think to test it I am currently unable to
  111. do so.
  112.  
  113.  
  114.  
  115. 3 Simple use
  116. ------------
  117.  
  118. 3.1 Use with the Wimp front end
  119. -------------------------------
  120.  
  121. Double click on !Ispell.  !Ispell provides interactive help. 
  122. Start an interactive help application such as Help, and you
  123. should have no trouble in using Ispell.
  124.  
  125. When !Ispell updates a file it renames the original file by
  126. appending a `!' to the file's name.
  127.  
  128.  
  129. 3.2 Use with the CLI
  130. --------------------
  131.  
  132. The underlying *ispell program is nearly a complete port of the
  133. Unix original.  The only omission is regular expression look up as
  134. RISC OS doesn't come with a plain text dictionary of words, and
  135. providing one would only take up more disc space.  Find a suitable
  136. CLI prompt and enter,
  137.  
  138.    ispell <filename>
  139.    
  140. The ShellCLI (the `*Commands' item on the task manager's icon bar
  141. menu) is the most obvious place to run *ispell.  A task window
  142. provided by Edit or VMode is not suitable.  One provided by Zap
  143. isn't really suitable.  SmallTask works just fine.  Enter
  144.  
  145.    ispell
  146.    
  147. for more information.  Help is provided from within *ispell.   
  148.  
  149. When *ispell updates a file it renames the original file by
  150. appending a `!' to its name.
  151.  
  152.  
  153. 3.3 Use with RISC OS 2
  154. ----------------------
  155.  
  156. I'm afraid the !Ispell interface will only work with RISC OS 3.0
  157. or higher.  I have not been able to test the *ispell program with
  158. RISC OS 2, but see no reason why it should not work.  If anybody
  159. tries it they could perhaps inform me of the outcome.
  160.  
  161.  
  162.  
  163. 4 More about !Ispell---issues of speed
  164. --------------------------------------
  165.  
  166. It is an unfortunate consequence of the way !Ispell works that it
  167. is slower in operation than using *ispell from a command line. 
  168. The difference in the speed of operation is most pronounced when
  169. checking large files with few detected potential spelling errors, 
  170. and thus little user interaction.  If you have, say, a 50Kb file
  171. that is to be rechecked after only minor alteration, using *ispell 
  172. will result in a much quicker check.  Having said this, !Ispell
  173. multi-tasks very ``gently''.  So if you give it a large file, you
  174. can carry on with something else and hardly be aware that it is at
  175. work.
  176.  
  177. If !Ispell suddenly slows down in operation, try quitting any
  178. recently started applications and see if the speed increases.  The
  179. problem is that !Ispell takes a big speed hit if you have other
  180. tasks taking null polls.  This is particularly unfortunate if the
  181. task has no work to do on the null poll.  There is a minimum of
  182. two context switches for each line checked, and the offending task
  183. will increase that number.  Things to note include;
  184.  
  185.   - Those using Ispell as part of a (La)TeX system should be
  186.     aware that DVIview 0.94 becomes an offender after it has
  187.     loaded its first DVI file.  DVIview 1.00 is free of this
  188.     problem.  You would be to advised to upgrade from version 0.94
  189.     any way.
  190.     
  191.   - Many communications programs, by necessity, perform work in
  192.     the background.
  193.  
  194.   - Applications which make a large use of context sensitive
  195.     pointer shapes often repeatedly take the null poll, this
  196.     includes the various incarnations of Impression.
  197.  
  198.   - If you have one of those programs that give you a measure of
  199.     processor usage, you'll probably be able to quickly deduce
  200.     which application is slowing things down.
  201.  
  202. Also, this problem is likely to be more pronounced on the RISC PC
  203. and A7000 with RISC OS 3 due to the way memory is handled.
  204.  
  205.  
  206.  
  207. 5 Launching Ispell from another program
  208. ---------------------------------------
  209.  
  210. Ispell can be utilised from another program in a seamless fashion
  211. simply by running !Ispell with the name of the file to be checked
  212. as an argument.  Given a single argument, it will not place its
  213. icon on the icon bar and it will immediately proceed checking of
  214. the named file.  When checking is finished, either when the end of
  215. the file is reached or because of a user abort, it will
  216. immediately quit.  E.g. to check `$.Doc.tex' use,
  217.  
  218.    WimpTask <Ispell$Dir> $.Doc.tex
  219.  
  220.  
  221.  
  222. 6 Documentation
  223. ---------------
  224.  
  225. Most of the original Ispell documentation can be found in
  226. !Ispell.Documents.Original, only the material pertaining to use
  227. with Emacs has been omitted.  `Ispell.tex' is a machine generated
  228. troff to LaTeX translation of `Ispell.1X'.  If you process it just
  229. skip passed the errors.  The GNU general public licence is an
  230. addition---see section 8 concerning its inclusion.
  231.  
  232.  
  233.  
  234. 7 Lexicons and alternatives
  235. ---------------------------
  236.  
  237. When checking words Ispell uses lexicons from two different files:
  238.  
  239.   1. A base dictionary.
  240.   2. A personal dictionary.
  241.   
  242.  
  243. 7.1 Base dictionaries
  244. ---------------------
  245.  
  246. This distribution of Ispell comes with one base dictionary.  It
  247. contains 32,372 English root words and is held in the file
  248. `!Ispell.Resources.English'.  It differs slightly from the
  249. Ispell's usual base dictionary in that it contains only a set of
  250. primary American spellings but no ``alternative'' ones.
  251.  
  252. I have produced two further archives each containing a drop-in
  253. alternative base dictionary which contain only British spellings. 
  254. The first is simply the base dictionary provided with this
  255. distribution with all the American spellings removed.  If you wish
  256. to tailor dictionaries in this manner, more information is given
  257. below.  The second is completely different in origin.  It has been
  258. provided by Reuben Thomas, who found it after putting in some
  259. effort looking at sites on the Internet.  It was apparently
  260. compiled by an Australian.  It is 50% bigger than the one in this
  261. distribution requiring about 1.5Mb to use.  Unfortunately, it is
  262. built from a single plain text file and so it is not readily
  263. possible to reduce its size.  Thanks go to Reuben.  The two may be
  264. available from the site you got this distribution as the files
  265. `IsBritish' and `IsAltBrit' respectively, if not see section 10.
  266.  
  267. A base dictionary is a specially formatted binary file in the form
  268. of a hash table.  Such a file is created from one or more plain
  269. text files containing lexicon fragments.  The lexicon fragment files
  270. provided with Ispell 3.1.07 are:
  271.  
  272.      English.0
  273.      English.1
  274.      English.2
  275.      English.3
  276.      British.0
  277.      British.1
  278.      British.2
  279.      American.0
  280.      American.1
  281.      American.2
  282.      Altamer.0
  283.      Altamer.1
  284.      Altamer.2
  285.  
  286. The higher the number of the file's suffix the less common are the
  287. words it contains.  The English lexicons contain a core of
  288. spellings common between both International English and American
  289. English.  The British and American lexicons contain spellings for
  290. the two respective countries.  The Altamer lexicon contains the
  291. alternative American spellings mentioned above.  The dictionary
  292. provided was built using the English, British and American files
  293. with suffixes of 0 and 1. 
  294.  
  295. All the above plain text dictionary files can be found in the
  296. source distribution.  This is probably available from the site you
  297. got this distribution from, and probably in an archive called
  298. `IspellSrc', if not see section 10.  Using the programs in the
  299. directory `!Ispell.Library', you can build a base dictionary using
  300. any collection of these lexicon fragments and personal lexicons,
  301. to precisely tailor the base dictionary to your requirements. 
  302. Using all the above fragments results in a dictionary with 85,723
  303. root words which requires 3Mb to build and 2Mb to use!
  304.  
  305. Which base dictionary is used can be changed from the !Ispell
  306. `Choices' window.  If you just give the leaf name of the file it
  307. will be looked for first in the directory !Ispell.Resources, then
  308. in the current working directory, then finally in the user's root
  309. directory. 
  310.   
  311.  
  312. 7.2 Personal dictionaries
  313. -------------------------
  314.  
  315. A personal dictionary is simply a plain text file of words, one per
  316. line, and so can be created and managed with a text editor.  The
  317. name of the default personal dictionary is a concatenation of
  318. `!I_' and the name of the base dictionary.  So, as !Ispell comes,
  319. this will be `!I_English'.  This will be looked for in the current
  320. working directory, then the user root directory.  If no personal
  321. dictionary can be found and words are learnt, a new personal
  322. dictionary is created in the user's root directory.  The personal
  323. dictionary used can be changed from the !Ispell `Choices' window.
  324.  
  325.  
  326.  
  327. 8 Copyright and copying
  328. -----------------------
  329.  
  330. Entering 
  331.  
  332.   ispell -v
  333.   
  334. at the CLI gives as part of the output,
  335.  
  336. ``Redistribution and use in source and binary forms, with or without
  337.   modification, are permitted provided that the following conditions
  338.   are met:
  339.   
  340.   1. Redistributions of source code must retain the above copyright
  341.      notice, this list of conditions and the following disclaimer.
  342.   2. Redistributions in binary form must reproduce the above
  343.      copyright notice, this list of conditions and the following
  344.      disclaimer in the documentation and/or other materials provided
  345.      with the distribution.
  346.   3. All modfications to the source code must be clearly marked as
  347.      such.  Binary redistributions based on modified source code
  348.      must be clearly marked as modified versions in the documentation
  349.      and/or other materials provided with the distribution.
  350.   4. All advertising materials mentioning features or use of this
  351.      software must display the following acknowledgment:
  352.        This product includes software developed by Geoff Kuenning and
  353.        other unpaid contributors.
  354.   5. The name of Geoff Kuenning may not be used to endorse or promote
  355.      products derived from this software without specific prior
  356.      written permission.
  357.   
  358.   THIS SOFTWARE IS PROVIDED BY GEOFF KUENNING AND CONTRIBUTORS ``AS
  359.   IS'' AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
  360.   LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS
  361.   FOR A PARTICULAR PURPOSE ARE DISCLAIMED.  IN NO EVENT SHALL GEOFF
  362.   KUENNING OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT,
  363.   INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
  364.   (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR
  365.   SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
  366.   HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT,
  367.   STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
  368.   ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED
  369.   OF THE POSSIBILITY OF SUCH DAMAGE.''
  370.  
  371. This notice covers only *ispell.  !Ispell is distributed under the
  372. GNU general public licence, a copy of which can be found as
  373. !Ispell.Documents.GNU.  May I stress clause 2a of the terms and
  374. conditions, and point out that I will not be prepared to deal with
  375. any problems arising from the use of copies of either *ispell or
  376. !Ispell that contain third party alterations.  The uncompressed
  377. form of !Ispell.!RunImage can be found in the source distribution.
  378. This is probably available from the site you got this distribution
  379. from, and probably in an archive called `IspellSrc', if not see
  380. section 10.
  381.  
  382.  
  383. 9 Bugs
  384. ------
  385.  
  386. Unlike release 1 or 2, this release is bug free and I am a banana.
  387.  
  388.  
  389.  
  390. 10 The author
  391. -------------
  392.  
  393. If you have any comments, suggestions, or especially if you come
  394. across any insurmountable problems with Ispell, then I would like
  395. to hear from you.  You can contact me at the address below.
  396.  
  397. If you cannot obtain any of the archives described in this file
  398. then I can provided you with the latest complete set.  Send,
  399.  
  400.   1. A stamped addressed envelope.
  401.  
  402.   2. Either
  403.         2 high density or
  404.         3 low density
  405.      pre-formatted ADFS discs.
  406.  
  407.   3. A covering letter saying that you want a copy of Ispell.
  408.      The letter can be on one of the discs if you like.
  409.  
  410. to the address below.
  411.  
  412.  
  413. David Bryan
  414. 37 Mill Dale Road
  415. Kettering
  416. Northants
  417. NN15 6QD
  418. England
  419.